import 'package:flutter/material.dart';

import 'CustomSwiperBanner.dart';

/*
文章 ： https://segmentfault.com/a/1190000021551204
https://www.cnblogs.com/niceyoo/p/10323686.html
https://blog.csdn.net/zl18603543572/article/details/94778473


需要添加依赖库  ： flutter_swiper: ^1.0.6
 */
class BannerSwipe extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text("轮播图的使用", style: TextStyle(fontSize: 14))),
      body: Container(
        child: Column(
          children: <Widget>[
            Text("Swiper轮播图"), CustomSwiperBanner()

          ],
        ),
      ),
    );
  }
}
